package com.cx.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.cx.entity.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cx.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author cx
 * @since 2024-06-07
 */
public interface ArticleMapper extends BaseMapper<Article> {
    @Select("select *from t_article ${ew.customSqlSegment}")
    IPage<Article> getArticleListPageConditions(IPage page, @Param(Constants.WRAPPER) LambdaQueryWrapper wrapper);

}
